package com.ktjy.ruoyidata.domain;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工艺路线对象 pro_route
 *
 * @author t382
 * @date 2025-05-09
 */
public class ProRoute extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 工艺路线ID
     */
    private Long routeId;

    /**
     * 工艺路线编号
     */
    @Excel(name = "工艺路线编号")
    private String routeCode;

    /**
     * 工艺路线名称
     */
    @Excel(name = "工艺路线名称")
    private String routeName;

    /**
     * 工艺路线说明
     */
    @Excel(name = "工艺路线说明")
    private String routeDesc;

    /**
     * 是否启用
     */
    @Excel(name = "是否启用")
    private String enableFlag;

    /**
     * 工艺组成信息
     */
    private List<ProRouteProcess> proRouteProcessList;

    /**
     * 关联产品信息
     */
    private List<ProRouteProduct> proRouteProductList;

    public List<ProRouteProduct> getProRouteProductList() {
        return proRouteProductList;
    }

    public void setProRouteProductList(List<ProRouteProduct> proRouteProductList) {
        this.proRouteProductList = proRouteProductList;
    }

    public void setRouteId(Long routeId) {
        this.routeId = routeId;
    }

    public Long getRouteId() {
        return routeId;
    }

    public void setRouteCode(String routeCode) {
        this.routeCode = routeCode;
    }

    public String getRouteCode() {
        return routeCode;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName;
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteDesc(String routeDesc) {
        this.routeDesc = routeDesc;
    }

    public String getRouteDesc() {
        return routeDesc;
    }

    public void setEnableFlag(String enableFlag) {
        this.enableFlag = enableFlag;
    }

    public String getEnableFlag() {
        return enableFlag;
    }

    public List<ProRouteProcess> getProRouteProcessList() {
        return proRouteProcessList;
    }

    public void setProRouteProcessList(List<ProRouteProcess> proRouteProcessList) {
        this.proRouteProcessList = proRouteProcessList;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("routeId", getRouteId())
                .append("routeCode", getRouteCode())
                .append("routeName", getRouteName())
                .append("routeDesc", getRouteDesc())
                .append("enableFlag", getEnableFlag())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("proRouteProcessList", getProRouteProcessList())
                .append("proRouteProductList", getProRouteProductList())
                .toString();
    }
}
